package com.qst.Service;

import com.qst.Vo.AdminVo;
import com.qst.pojo.Admin;

import java.util.List;

public interface AdminService {
    List<Admin> findAdminbyname(String loginname);

    int updateAdmin(Admin admin);

    List<Admin> findAdminbyid(int  id);

    List<Admin> findAllAdmin(AdminVo adminVo);

    int deleteadmin(int id);

    int addadmin(Admin admin);
}
